package cn.gailvlun.gll.net.login;

import cn.gailvlun.gll.util.JwtUtil;



public class LoginReq {

    public LoginReq() {
    }

    public LoginReq(String mobile, String password) {
        this.mobile = mobile;
        setPassword(password);
    }

    private String mobile;
    private String password;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = JwtUtil.encrypt(new Password(password));
    }
}
